.class public Les/sr0;
.super Les/or0;
.source "ImmutableBooleanValueImpl.java"

# interfaces
.implements Lorg/msgpack/value/h;


# static fields
.field public static final b:Lorg/msgpack/value/h;

.field public static final c:Lorg/msgpack/value/h;


# instance fields
.field private final a:Z


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .line 1
    new-instance v0, Les/sr0;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Les/sr0;-><init>(Z)V

    sput-object v0, Les/sr0;->b:Lorg/msgpack/value/h;

    .line 2
    new-instance v0, Les/sr0;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Les/sr0;-><init>(Z)V

    sput-object v0, Les/sr0;->c:Lorg/msgpack/value/h;

    return-void
.end method

.method private constructor <init>(Z)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/or0;-><init>()V

    .line 2
    iput-boolean p1, p0, Les/sr0;->a:Z

    return-void
.end method


# virtual methods
.method public bridge synthetic A()Lorg/msgpack/value/c;
    .locals 0

    .line 1
    invoke-virtual {p0}, Les/sr0;->A()Lorg/msgpack/value/h;

    return-object p0
.end method

.method public A()Lorg/msgpack/value/h;
    .locals 0

    return-object p0
.end method

.method public a(Lorg/msgpack/core/MessagePacker;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    iget-boolean v0, p0, Les/sr0;->a:Z

    invoke-virtual {p1, v0}, Lorg/msgpack/core/MessagePacker;->packBoolean(Z)Lorg/msgpack/core/MessagePacker;

    return-void
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 3

    const/4 v0, 0x1

    if-ne p1, p0, :cond_0

    return v0

    .line 1
    :cond_0
    instance-of v1, p1, Lorg/msgpack/value/x;

    const/4 v2, 0x0

    if-nez v1, :cond_1

    return v2

    .line 2
    :cond_1
    check-cast p1, Lorg/msgpack/value/x;

    .line 3
    invoke-interface {p1}, Lorg/msgpack/value/x;->y()Z

    move-result v1

    if-nez v1, :cond_2

    return v2

    .line 4
    :cond_2
    iget-boolean v1, p0, Les/sr0;->a:Z

    invoke-interface {p1}, Lorg/msgpack/value/x;->A()Lorg/msgpack/value/c;

    move-result-object p1

    invoke-interface {p1}, Lorg/msgpack/value/c;->q()Z

    move-result p1

    if-ne v1, p1, :cond_3

    goto :goto_0

    :cond_3
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public hashCode()I
    .locals 1

    .line 1
    iget-boolean v0, p0, Les/sr0;->a:Z

    if-eqz v0, :cond_0

    const/16 v0, 0x4cf

    return v0

    :cond_0
    const/16 v0, 0x4d5

    return v0
.end method

.method public n()Lorg/msgpack/value/ValueType;
    .locals 1

    .line 1
    sget-object v0, Lorg/msgpack/value/ValueType;->BOOLEAN:Lorg/msgpack/value/ValueType;

    return-object v0
.end method

.method public q()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Les/sr0;->a:Z

    return v0
.end method

.method public toJson()Ljava/lang/String;
    .locals 1

    .line 1
    iget-boolean v0, p0, Les/sr0;->a:Z

    invoke-static {v0}, Ljava/lang/Boolean;->toString(Z)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/sr0;->toJson()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
